package cn.yh.shop.product.model;
import java.sql.Timestamp;

/**
 * TCategory entity. @author MyEclipse Persistence Tools
 */

public class Category implements java.io.Serializable {

	// Fields

	/**
	 * @Description: serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private Integer pid;
	private String path;
	private String addPeopleName;
	private Timestamp addTime;
	private String altPeopleName;
	private Timestamp altTime;

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** minimal constructor */
	public Category(Integer id, String name, Integer pid, String path) {
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.path = path;
	}

	/** full constructor */
	public Category(Integer id, String name, Integer pid, String path,
			String addPeopleName, Timestamp addTime, String altPeopleName,
			Timestamp altTime) {
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.path = path;
		this.addPeopleName = addPeopleName;
		this.addTime = addTime;
		this.altPeopleName = altPeopleName;
		this.altTime = altTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getAddPeopleName() {
		return this.addPeopleName;
	}

	public void setAddPeopleName(String addPeopleName) {
		this.addPeopleName = addPeopleName;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public String getAltPeopleName() {
		return this.altPeopleName;
	}

	public void setAltPeopleName(String altPeopleName) {
		this.altPeopleName = altPeopleName;
	}

	public Timestamp getAltTime() {
		return this.altTime;
	}

	public void setAltTime(Timestamp altTime) {
		this.altTime = altTime;
	}

}